"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = TagExample;

var _react = _interopRequireDefault(require("react"));

var _components = require("@tarojs/components");

var _index = _interopRequireDefault(require("../../index"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function TagExample() {
  var onClose = function onClose() {
    console.log('点击关闭');
  };

  var onClick = function onClick() {
    console.log('点击');
  };

  return /*#__PURE__*/_react.default.createElement(_components.View, {
    className: "page"
  }, /*#__PURE__*/_react.default.createElement(_components.Text, {
    className: "header"
  }, "Tag \u6807\u7B7E"), /*#__PURE__*/_react.default.createElement(_components.View, {
    className: "section"
  }, /*#__PURE__*/_react.default.createElement(_index.default, null, "\u6807\u7B7E"), /*#__PURE__*/_react.default.createElement(_index.default, {
    type: "primary"
  }, "\u6807\u7B7E"), /*#__PURE__*/_react.default.createElement(_index.default, {
    type: "success"
  }, "\u6807\u7B7E"), /*#__PURE__*/_react.default.createElement(_index.default, {
    type: "warning"
  }, "\u6807\u7B7E"), /*#__PURE__*/_react.default.createElement(_index.default, {
    type: "orange"
  }, "\u6807\u7B7E"), /*#__PURE__*/_react.default.createElement(_index.default, {
    type: "danger",
    closeable: true,
    size: "md",
    onClose: onClose,
    onClick: onClick
  }, "\u6807\u7B7E")));
}